package com.easyCode.dataMock.dataGenerator;

import com.easyCode.dataMock.FieldMockInfo;

/**
 * @author 大忽悠
 * @create 2023/1/18 11:36
 */
public class FixedDataGenerator implements DataGenerator{
    /**
     * @param fieldMockInfo 字段信息
     * @return 返回模拟生成的data
     */
    @Override
    public String generator(FieldMockInfo fieldMockInfo) {
        return fieldMockInfo.getExtra()[0];
    }
}
